package org.example.j20250911mybites.mybatis.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.example.j20250911mybites.model.UserInfo;

import java.util.List;

@Mapper
public interface UserinfoXmlMapper {
    Integer insert(UserInfo userInfo);
    Integer delete(Integer id);
    Integer update(UserInfo userInfo);
    List<UserInfo> selectAllUser();
    List<UserInfo> selectAllUser2();
    Integer count();

    Integer insertByCondtion(UserInfo userInfo);

    List<UserInfo> queryUserByCondition(UserInfo userInfo);

    Integer updateByCondition(UserInfo userInfo);
}
